package cn.tedu.mintmall.service;

import cn.tedu.mintmall.dto.AdminDTO;
import cn.tedu.mintmall.dto.AdminLoginDTO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpSession;
import java.io.IOException;

public interface IAdminService {
    int addAdmin(AdminDTO adminDTO,MultipartFile picFile) throws IOException;

    int login(AdminLoginDTO adminLoginDTO, HttpSession session);

    void updateAdmin(String password,HttpSession session);

    void updateHeaderJpg(HttpSession session,MultipartFile picFile) throws IOException;
}
